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] ); $yearparts = str_split( $dataParts[0] ); $lastTwo = splor_numbers_get_numerology_totals( $yearparts[2] + $yearparts[3] ); return array( $yTotal, $mTotal, $dTotal, $lastTwo ); } 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.0040.01116.48
8.3.50.0100.00822.87
8.3.40.0040.01118.94
8.3.30.0110.00419.17
8.3.20.0040.00420.29
8.3.10.0080.00023.51
8.3.00.0040.00419.38
8.2.180.0090.00618.16
8.2.170.0190.00322.96
8.2.160.0100.00320.36
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00420.91
8.2.110.0060.00322.05
8.2.100.0100.00319.64
8.2.90.0000.00919.20
8.2.80.0030.00517.97
8.2.70.0000.00817.63
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0040.00718.34
8.2.30.0000.00718.07
8.2.20.0040.00417.75
8.2.10.0070.00018.14
8.2.00.0000.00717.71
8.1.280.0180.00325.92
8.1.270.0030.00622.14
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00023.82
8.1.230.0080.00319.16
8.1.220.0000.00817.79
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.40
8.1.160.0040.00422.10
8.1.150.0040.00418.90
8.1.140.0080.00017.47
8.1.130.0070.00017.86
8.1.120.0070.00017.41
8.1.110.0030.00517.41
8.1.100.0080.00017.47
8.1.90.0040.00417.47
8.1.80.0000.00717.43
8.1.70.0070.00017.40
8.1.60.0080.00017.69
8.1.50.0050.00317.55
8.1.40.0040.00417.52
8.1.30.0030.00617.62
8.1.20.0000.00817.70
8.1.10.0040.00417.61
8.1.00.0040.00417.61
8.0.300.0070.00018.77
8.0.290.0060.00316.88
8.0.280.0050.00318.38
8.0.270.0000.00717.32
8.0.260.0070.00017.30
8.0.250.0030.00316.92
8.0.240.0000.00716.96
8.0.230.0070.00017.04
8.0.220.0000.00716.98
8.0.210.0040.00416.94
8.0.200.0040.00416.95
8.0.190.0040.00417.09
8.0.180.0030.00517.07
8.0.170.0080.00017.07
8.0.160.0060.00316.97
8.0.150.0040.00416.79
8.0.140.0070.00016.96
8.0.130.0060.00013.47
8.0.120.0040.00416.93
8.0.110.0040.00416.92
8.0.100.0000.00716.88
8.0.90.0000.00716.79
8.0.80.0090.01217.04
8.0.70.0080.00017.01
8.0.60.0040.00416.87
8.0.50.0040.00417.09
8.0.30.0090.01317.12
8.0.20.0070.01317.40
8.0.10.0000.00817.04
8.0.00.0100.00916.89
7.4.330.0000.00515.20
7.4.320.0040.00416.64
7.4.300.0000.00716.54
7.4.290.0000.00716.44
7.4.280.0040.00416.42
7.4.270.0050.00216.39
7.4.260.0000.00716.63
7.4.250.0000.00716.51
7.4.240.0040.00416.61
7.4.230.0070.00016.61
7.4.220.0120.00816.66
7.4.210.0090.00616.66
7.4.200.0030.00316.63
7.4.160.0090.00616.48
7.4.150.0110.00717.40
7.4.140.0090.01217.86
7.4.130.0100.00816.57
7.4.120.0070.01016.50
7.4.110.0120.01316.57
7.4.100.0110.00716.61
7.4.90.0060.01016.53
7.4.80.0110.00619.39
7.4.70.0140.00416.61
7.4.60.0150.00316.42
7.4.50.0000.00916.41
7.4.40.0090.00916.64
7.4.30.0130.01016.39
7.4.10.0060.01315.06
7.4.00.0070.00914.85
7.3.330.0060.00013.26
7.3.320.0000.00513.22
7.3.310.0000.00716.39
7.3.300.0060.00016.43
7.3.290.0090.00616.33
7.3.280.0060.01016.45
7.3.270.0140.00417.40
7.3.260.0150.00916.63
7.3.250.0050.01116.46
7.3.240.0040.01316.39
7.3.230.0070.01016.39
7.3.210.0150.00416.34
7.3.200.0060.01619.39
7.3.190.0140.00716.61
7.3.180.0060.00916.68
7.3.170.0060.01616.42
7.3.160.0060.00916.50
7.3.130.0090.00814.91
7.3.120.0080.00815.01
7.3.110.0080.00814.85
7.3.100.0100.00414.97
7.3.90.0030.01214.84
7.3.80.0060.00715.04
7.3.70.0070.00714.87
7.3.60.0050.00814.89
7.3.50.0010.01214.82
7.3.40.0050.00814.89
7.3.30.0060.00614.79
7.3.20.0030.01116.58
7.3.10.0070.00716.76
7.3.00.0050.00816.67
7.2.330.0000.01716.59
7.2.320.0060.01216.70
7.2.310.0100.00616.81
7.2.300.0040.01816.55
7.2.290.0040.01216.43
7.2.260.0070.01014.89
7.2.250.0130.00514.99
7.2.240.0100.00415.24
7.2.230.0070.01115.09
7.2.220.0080.00915.10
7.2.210.0080.00815.34
7.2.200.0030.01215.08
7.2.190.0080.01015.06
7.2.180.0030.01014.93
7.2.170.0060.00815.02
7.2.160.0070.00914.91
7.2.150.0010.01117.00
7.2.140.0080.00717.07
7.2.130.0020.01217.11
7.2.120.0060.00717.03
7.2.110.0050.00816.88
7.2.100.0000.01416.97
7.2.90.0060.00516.88
7.2.80.0040.00917.08
7.2.70.0120.00317.15
7.2.60.0030.00717.01
7.2.50.0060.00816.94
7.2.40.0060.00616.79
7.2.30.0040.00516.95
7.2.20.0090.00616.96
7.2.10.0050.00517.01
7.2.00.0120.00317.56
7.1.330.0070.00815.56
7.1.320.0060.00915.62
7.1.310.0080.00515.89
7.1.300.0070.00815.86
7.1.290.0080.00615.86
7.1.280.0090.00615.79
7.1.270.0080.00615.71
7.1.260.0090.00215.68
7.1.250.0050.00615.79
7.1.240.0060.00815.92
7.1.230.0000.01015.74
7.1.220.0050.00715.87
7.1.210.0020.01015.83
7.1.200.0050.00915.77
7.1.190.0030.00715.83
7.1.180.0020.01015.54
7.1.170.0060.00815.74
7.1.160.0040.00815.81
7.1.150.0070.00415.70
7.1.140.0040.01015.72
7.1.130.0030.00615.87
7.1.120.0030.00615.94
7.1.110.0050.00915.97
7.1.100.0080.00416.58
7.1.90.0050.01015.98
7.1.80.0060.00615.79
7.1.70.0070.00416.23
7.1.60.0050.01117.08
7.1.50.0010.01216.25
7.1.40.0030.00815.90
7.1.30.0050.01015.93
7.1.20.0050.01015.70
7.1.10.0050.00515.73
7.1.00.0040.03017.88
7.0.330.0020.01115.54
7.0.320.0070.00415.53
7.0.310.0060.00815.26
7.0.300.0050.00815.38
7.0.290.0030.00615.31
7.0.280.0050.00915.40
7.0.270.0030.00815.39
7.0.260.0030.00915.30
7.0.250.0040.00715.46
7.0.240.0080.00715.45
7.0.230.0070.00715.52
7.0.220.0070.00815.47
7.0.210.0090.00615.54
7.0.200.0040.00815.99
7.0.190.0000.01215.49
7.0.180.0050.00815.44
7.0.170.0040.01115.43
7.0.160.0040.00915.49
7.0.150.0040.01015.41
7.0.140.0060.02717.63
7.0.130.0050.01015.41
7.0.120.0070.00515.52
7.0.110.0050.01015.22
7.0.100.0050.00815.38
7.0.90.0020.01115.48
7.0.80.0070.00315.22
7.0.70.0060.00415.41
7.0.60.0080.03116.92
7.0.50.0040.01616.36
7.0.40.0070.02415.67
7.0.30.0120.02515.73
7.0.20.0110.03215.72
7.0.10.0080.02815.80
7.0.00.0050.03415.67
5.6.400.0020.00814.57
5.6.390.0070.00514.40
5.6.380.0050.00514.28
5.6.370.0110.00314.46
5.6.360.0100.00414.70
5.6.350.0020.00914.60
5.6.340.0030.01014.51
5.6.330.0090.00514.40
5.6.320.0030.00914.34
5.6.310.0030.01014.49
5.6.300.0080.00314.59
5.6.290.0030.01014.37
5.6.280.0100.02416.58
5.6.270.0070.00714.51
5.6.260.0050.01014.30
5.6.250.0050.01214.46
5.6.240.0060.00614.42
5.6.230.0050.00714.56
5.6.220.0100.00414.36
5.6.210.0050.03216.43
5.6.200.0020.02115.72
5.6.190.0050.02116.74
5.6.180.0120.03416.56
5.6.170.0140.01916.50
5.6.160.0080.02916.28
5.6.150.0080.01615.62
5.6.140.0060.02215.58
5.6.130.0050.02315.70
5.6.120.0080.03116.63
5.6.110.0090.03216.68
5.6.100.0110.02716.54
5.6.90.0020.03916.63
5.6.80.0050.03216.41
5.6.70.0080.00514.33
5.6.60.0060.00314.34
5.6.50.0090.00714.23
5.6.40.0080.00714.44
5.6.30.0050.00914.54
5.6.20.0030.01014.31
5.6.10.0090.00314.34
5.6.00.0070.00714.31
5.5.380.0060.00814.35
5.5.370.0020.00614.47
5.5.360.0080.00714.07
5.5.350.1400.02116.34
5.5.340.0090.01415.51
5.5.330.0050.02016.61
5.5.320.0100.02016.31
5.5.310.0140.02716.49
5.5.300.0070.02015.70
5.5.290.0020.03215.64
5.5.280.0070.03316.43
5.5.270.0100.03016.31
5.5.260.0120.02416.58
5.5.250.0040.02116.26
5.5.240.0020.03316.16
5.5.230.0090.00614.30
5.5.220.0040.00914.17
5.5.210.0060.00814.38
5.5.200.0080.00914.27
5.5.190.0100.00114.32
5.5.180.0040.00514.15
5.5.170.0090.00314.34
5.5.160.0070.00414.08
5.5.150.0030.01014.37
5.5.140.0090.00514.50
5.5.130.0050.01014.33
5.5.120.0060.00614.34
5.5.110.0040.00714.31
5.5.100.0030.00814.43
5.5.90.0020.01314.12
5.5.80.0080.00214.32
5.5.70.0020.01314.43
5.5.60.0070.00614.14
5.5.50.0070.00414.22
5.5.40.0020.00914.31
5.5.30.0060.00814.24
5.5.20.0030.01014.51
5.5.10.0050.00714.17
5.5.00.0060.00714.39
5.4.450.0090.01914.48
5.4.440.0110.01914.40
5.4.430.0150.02014.49
5.4.420.0100.02014.53
5.4.410.0140.01114.43
5.4.400.0110.01814.29
5.4.390.0070.02114.29
5.4.380.0340.02414.27
5.4.370.0310.02714.20
5.4.360.0210.02614.09
5.4.350.0400.02414.20
5.4.340.0280.02214.14
5.4.330.0030.00911.82
5.4.320.0030.01812.07
5.4.310.0050.01612.13
5.4.300.0040.01712.05
5.4.290.0060.01712.16
5.4.280.0070.01311.97
5.4.270.0040.01512.04
5.4.260.0050.01912.13
5.4.250.0060.01512.05
5.4.240.0070.01312.09
5.4.230.0060.01512.13
5.4.220.0040.01812.12
5.4.210.0050.01511.99
5.4.200.0040.01512.10
5.4.190.0060.01612.09
5.4.180.0080.01312.08
5.4.170.0070.01412.08
5.4.160.0030.01812.08
5.4.150.0040.01612.07
5.4.140.0050.01711.99
5.4.130.0040.01811.85
5.4.120.0050.01611.99
5.4.110.0050.01811.95
5.4.100.0090.01312.03
5.4.90.0070.01611.90
5.4.80.0070.01411.97
5.4.70.0040.01811.92
5.4.60.0050.01711.90
5.4.50.0040.01711.97
5.4.40.0050.01711.92
5.4.30.0030.01911.99
5.4.20.0050.01612.00
5.4.10.0060.01511.93
5.4.00.0060.01611.74
5.3.290.0050.04112.80
5.3.280.0090.03912.71
5.3.270.0070.03912.72
5.3.260.0050.04412.72
5.3.250.0090.04712.72
5.3.240.0110.04212.72
5.3.230.0080.04112.71
5.3.220.0050.04412.68
5.3.210.0110.03712.68
5.3.200.0110.03112.68
5.3.190.0070.03812.68
5.3.180.0090.03512.67
5.3.170.0100.04012.67
5.3.160.0100.03312.67
5.3.150.0090.03712.67
5.3.140.0050.05112.66
5.3.130.0070.05012.66
5.3.120.0100.04212.66
5.3.110.0070.04312.66
5.3.100.0080.03612.13
5.3.90.0040.04412.11
5.3.80.0050.03612.10
5.3.70.0110.03612.11
5.3.60.0090.04312.09
5.3.50.0030.05112.04
5.3.40.0060.03912.03
5.3.30.0070.03711.99
5.3.20.0150.03111.77
5.3.10.0090.03611.74
5.3.00.0050.04711.73
5.2.170.0020.0329.24
5.2.160.0040.0309.24
5.2.150.0070.0329.24
5.2.140.0060.0389.23
5.2.130.0040.0309.19
5.2.120.0040.0309.19
5.2.110.0040.0349.20
5.2.100.0060.0309.19
5.2.90.0100.0309.19
5.2.80.0050.0409.19
5.2.70.0070.0449.18
5.2.60.0100.0439.15
5.2.50.0030.0349.12
5.2.40.0070.0469.09
5.2.30.0070.0369.06
5.2.20.0040.0329.05
5.2.10.0070.0288.96
5.2.00.0100.0358.82
5.1.60.0070.0328.10
5.1.50.0060.0238.10
5.1.40.0050.0408.08
5.1.30.0050.0358.43
5.1.20.0050.0258.45
5.1.10.0060.0308.18
5.1.00.0080.0338.18
5.0.50.0070.0256.66
5.0.40.0060.0296.52
5.0.30.0050.0316.33
5.0.20.0040.0356.30
5.0.10.0070.0246.27
5.0.00.0040.0376.26
4.4.90.0010.0174.78
4.4.80.0110.0294.76
4.4.70.0040.0264.76
4.4.60.0060.0184.75
4.4.50.0050.0224.77
4.4.40.0020.0264.71
4.4.30.0020.0184.76
4.4.20.0040.0154.85
4.4.10.0080.0104.85
4.4.00.0040.0244.75
4.3.110.0010.0174.67
4.3.100.0020.0154.66
4.3.90.0020.0154.63
4.3.80.0030.0244.58
4.3.70.0030.0144.63
4.3.60.0020.0264.63
4.3.50.0040.0144.63
4.3.40.0040.0234.54
4.3.30.0030.0153.32
4.3.20.0030.0153.30
4.3.10.0020.0163.25
4.3.00.0000.02015.63

preferences:
45.55 ms | 400 KiB | 5 Q