3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "Test"; function splor_numbers_get_governing( $dob ) { $dateTotals = splor_numbers_get_dob_totals( $dob ); return splor_numbers_get_numerology_totals( $dateTotals[0] + $dateTotals[1] + $dateTotals[2] ); } function splor_numbers_get_awareness( $dob ) { $dateTotals = splor_numbers_get_dob_totals( $dob ); return $dateTotals[2]; } function splor_numbers_get_dob_totals( $dob ) { $dataParts = explode( "-", $dob ); $yTotal = splor_numbers_get_numerology_totals( $dataParts[0] ); $mTotal = splor_numbers_get_numerology_totals( $dataParts[1] ); $dTotal = splor_numbers_get_numerology_totals( $dataParts[2] ); return array( $yTotal, $mTotal, $dTotal ); } function splor_numbers_get_numerology_totals( $number ) { $total = array_sum( str_split( $number ) ); while ( $total > 9 ) { $total = array_sum( str_split( $total ) ); } return $total; } $dob = "2894-44-48"; echo "Governing: " . splor_numbers_get_governing( $dob ); echo "Awareness: " . splor_numbers_get_awareness( $dob );

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0090.00616.50
8.3.50.0110.00522.81
8.3.40.0120.00318.85
8.3.30.0070.01419.09
8.3.20.0040.00420.17
8.3.10.0060.00323.66
8.3.00.0050.00319.26
8.2.180.0100.01418.41
8.2.170.0070.00722.96
8.2.160.0100.01020.12
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0120.00626.16
8.2.120.0060.00319.58
8.2.110.0060.00322.25
8.2.100.0040.00718.09
8.2.90.0070.00019.22
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0040.00418.03
8.2.50.0000.00818.07
8.2.40.0040.00419.95
8.2.30.0000.00919.92
8.2.20.0000.00817.63
8.2.10.0000.00718.00
8.2.00.0000.00917.82
8.1.280.0120.00925.92
8.1.270.0080.00023.96
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0000.00923.84
8.1.230.0000.01119.09
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0000.00817.23
8.1.180.0080.00019.01
8.1.170.0000.00818.59
8.1.160.0050.00322.09
8.1.150.0040.00418.87
8.1.140.0040.00417.36
8.1.130.0070.00017.70
8.1.120.0000.00717.32
8.1.110.0040.00417.46
8.1.100.0040.00417.43
8.1.90.0070.00017.50
8.1.80.0040.00417.34
8.1.70.0000.00717.32
8.1.60.0040.00417.57
8.1.50.0040.00417.43
8.1.40.0060.00317.47
8.1.30.0000.00917.55
8.1.20.0000.00717.66
8.1.10.0050.00317.65
8.1.00.0000.00717.43
8.0.300.0000.00718.77
8.0.290.0050.00216.75
8.0.280.0000.00718.36
8.0.270.0070.00017.26
8.0.260.0000.00617.25
8.0.250.0000.00716.98
8.0.240.0000.00816.88
8.0.230.0040.00416.83
8.0.220.0030.00316.94
8.0.210.0070.00016.79
8.0.200.0030.00316.99
8.0.190.0000.00716.96
8.0.180.0000.00716.80
8.0.170.0000.00916.92
8.0.160.0040.00416.87
8.0.150.0000.00716.86
8.0.140.0070.00016.81
8.0.130.0000.00513.30
8.0.120.0040.00416.72
8.0.110.0030.00516.89
8.0.100.0000.00816.78
8.0.90.0000.00716.90
8.0.80.0060.00916.88
8.0.70.0070.00016.85
8.0.60.0020.00516.84
8.0.50.0000.00716.79
8.0.30.0110.00817.21
8.0.20.0050.01517.40
8.0.10.0000.00717.13
8.0.00.0120.00816.80
7.4.330.0030.00315.19
7.4.320.0060.00016.62
7.4.300.0060.00016.51
7.4.290.0000.00716.61
7.4.280.0000.00716.47
7.4.270.0000.00716.62
7.4.260.0040.00416.52
7.4.250.0080.00016.54
7.4.240.0020.00516.62
7.4.230.0040.00416.52
7.4.220.0110.00716.68
7.4.210.0060.00916.64
7.4.200.0030.00516.71
7.4.160.0080.00816.41
7.4.150.0130.01017.40
7.4.140.0150.00517.86
7.4.130.0050.01116.40
7.4.120.0060.01116.43
7.4.110.0060.01016.51
7.4.100.0100.00716.46
7.4.90.0080.01116.61
7.4.80.0040.01719.39
7.4.70.0170.00316.63
7.4.60.0080.00816.36
7.4.50.0030.00616.39
7.4.40.0070.01016.51
7.4.30.0030.01316.49
7.4.00.0040.01214.85
7.3.330.0030.00313.34
7.3.320.0000.00513.45
7.3.310.0060.00316.41
7.3.300.0030.00316.38
7.3.290.0070.00716.40
7.3.280.0060.00916.35
7.3.270.0030.01517.40
7.3.260.0100.01016.38
7.3.250.0110.00516.57
7.3.240.0150.00316.68
7.3.230.0100.00716.46
7.3.210.0090.01216.61
7.3.200.0000.01619.39
7.3.190.0120.00616.52
7.3.180.0140.00716.48
7.3.170.0130.00316.73
7.3.160.0070.01016.63
7.3.120.0000.01615.02
7.3.110.0030.01414.69
7.3.100.0070.01014.43
7.3.90.0000.00915.05
7.3.80.0000.01315.15
7.3.70.0040.00814.99
7.3.60.0080.00414.79
7.3.50.0040.00414.71
7.3.40.0070.00314.85
7.3.30.0070.01014.81
7.3.20.0030.00716.80
7.3.10.0030.01416.72
7.3.00.0000.01016.40
7.2.330.0030.01416.93
7.2.320.0100.01416.74
7.2.310.0100.00716.60
7.2.300.0040.01216.86
7.2.290.0060.01316.64
7.2.250.0070.01114.87
7.2.240.0030.01614.86
7.2.230.0030.01315.16
7.2.220.0070.00715.10
7.2.210.0000.01615.03
7.2.200.0060.01015.26
7.2.190.0120.00314.86
7.2.180.0050.00515.15
7.2.170.0000.01614.90
7.1.330.0080.00815.93
7.1.320.0070.00715.89
7.1.310.0070.00715.61
7.1.300.0100.00615.70
7.1.290.0000.01715.54
7.1.280.0070.00415.57
7.1.270.0070.00715.52
7.1.260.0000.01115.79
7.1.70.0000.00817.18
7.1.60.0140.01119.40
7.1.50.0030.01316.86
7.1.00.0070.07022.36
7.0.200.0050.00216.73
7.0.140.0070.07022.09
7.0.60.0030.07320.09
7.0.50.0100.04017.73
7.0.40.0330.03720.11
7.0.30.0430.06320.07
7.0.20.0130.06020.24
7.0.10.0200.04720.12
7.0.00.0100.04020.09
5.6.280.0000.07321.13
5.6.210.0200.06320.77
5.6.200.0070.08018.15
5.6.190.0000.05020.46
5.6.180.3630.04320.52
5.6.170.0270.03020.48
5.6.160.0030.04320.57
5.6.150.0030.06718.18
5.6.140.0100.07718.27
5.6.130.0000.05318.18
5.6.120.0070.06321.15
5.6.110.0030.09021.15
5.6.100.0100.05720.90
5.6.90.0000.04720.98
5.6.80.0000.04020.53
5.6.70.0270.07320.37
5.5.350.0300.05320.50
5.5.340.0070.04317.95
5.5.330.0130.09320.43
5.5.320.0470.03720.37
5.5.310.0300.07020.34
5.5.300.0070.08317.95
5.5.290.0130.06318.02
5.5.280.0130.06320.74
5.5.270.0070.05020.64
5.5.260.0070.04020.86
5.5.250.0030.04020.51
5.5.240.4200.04020.24
5.4.450.0770.07019.59
5.4.440.0270.06319.51
5.4.430.0130.06019.44
5.4.420.0200.05319.30
5.4.410.0230.05019.52
5.4.400.1200.04718.89
5.4.390.0200.05018.51
5.4.380.0330.06318.62
5.4.370.0070.05718.55
5.4.360.0200.04018.77
5.4.350.0210.08012.02
5.4.340.0040.04312.02
5.4.320.0090.03312.52
5.4.310.0050.03912.51
5.4.300.0080.03512.52
5.4.290.0090.03512.50
5.4.280.0050.03612.41
5.4.270.0060.03712.41
5.4.260.0050.03812.41
5.4.250.0060.03712.41
5.4.240.0080.03412.41
5.4.230.0050.03812.40
5.4.220.0090.03212.40
5.4.210.0080.03312.40
5.4.200.0080.03612.40
5.4.190.0070.03512.39
5.4.180.0090.03312.39
5.4.170.0030.04012.41
5.4.160.0060.03712.39
5.4.150.0070.03512.39
5.4.140.0090.03612.07
5.4.130.0080.03412.06
5.4.120.0030.03812.02
5.4.110.0070.03412.02
5.4.100.0040.03612.02
5.4.90.0070.03512.02
5.4.80.0040.03812.02
5.4.70.0040.03712.02
5.4.60.0060.03312.01
5.4.50.0030.03712.01
5.4.40.0070.03212.00
5.4.30.0030.03712.00
5.4.20.0020.03912.00
5.4.10.0030.04012.00
5.4.00.0030.03911.48
5.3.290.0080.03712.80
5.3.280.0040.03912.70
5.3.270.0090.03512.72
5.3.260.0050.04112.72
5.3.250.0080.03712.72
5.3.240.0060.03812.72
5.3.230.0050.03712.71
5.3.220.0030.03912.68
5.3.210.0060.04212.68
5.3.200.0050.03812.68
5.3.190.0050.04112.68
5.3.180.0060.03512.67
5.3.170.0040.03812.67
5.3.160.0050.03712.67
5.3.150.0060.03812.67
5.3.140.0070.03512.66
5.3.130.0050.04012.66
5.3.120.0080.04512.66
5.3.110.0060.04212.66
5.3.100.0080.04912.13
5.3.90.0070.05212.11
5.3.80.0060.04912.10
5.3.70.0070.04712.10
5.3.60.0030.03812.09
5.3.50.0020.03912.04
5.3.40.0020.03912.03
5.3.30.0080.03212.00
5.3.20.0070.03411.77
5.3.10.0050.03711.74
5.3.00.0030.04011.72
5.2.170.0060.0289.23
5.2.160.0060.0269.23
5.2.150.0030.0319.23
5.2.140.0060.0289.23
5.2.130.0040.0289.19
5.2.120.0060.0269.19
5.2.110.0070.0299.20
5.2.100.0020.0309.19
5.2.90.0050.0279.19
5.2.80.0030.0359.18
5.2.70.0060.0289.18
5.2.60.0030.0319.14
5.2.50.0060.0299.11
5.2.40.0040.0289.09
5.2.30.0040.0299.06
5.2.20.0040.0289.04
5.2.10.0050.0278.95
5.2.00.0050.0288.82
5.1.60.0040.0238.09
5.1.50.0040.0258.09
5.1.40.0040.0258.08
5.1.30.0050.0248.43
5.1.20.0050.0248.45
5.1.10.0020.0268.17
5.1.00.0020.0278.17
5.0.50.0010.0226.65
5.0.40.0020.0206.51
5.0.30.0040.0306.32
5.0.20.0000.0236.29
5.0.10.0020.0216.27
5.0.00.0020.0316.26
4.4.90.0020.0164.78
4.4.80.0060.0144.76
4.4.70.0040.0134.76
4.4.60.0070.0114.75
4.4.50.0020.0154.77
4.4.40.0010.0304.70
4.4.30.0010.0174.76
4.4.20.0020.0154.84
4.4.10.0020.0154.85
4.4.00.0030.0284.76
4.3.110.0040.0194.67
4.3.100.0040.0134.66
4.3.90.0030.0214.63
4.3.80.0030.0284.59
4.3.70.0040.0134.63
4.3.60.0030.0214.63
4.3.50.0000.0184.63
4.3.40.0010.0254.53
4.3.30.0010.0163.32
4.3.20.0000.0243.30
4.3.10.0030.0193.25
4.3.00.0070.0277.09

preferences:
46.07 ms | 401 KiB | 5 Q