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-04-18"; 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.0060.00916.63
8.3.50.0120.00723.03
8.3.40.0040.01218.79
8.3.30.0120.00919.05
8.3.20.0040.00420.16
8.3.10.0040.01123.61
8.3.00.0060.00319.38
8.2.180.0090.00616.38
8.2.170.0030.01022.96
8.2.160.0070.00720.47
8.2.150.0030.00624.18
8.2.140.0070.01124.66
8.2.130.0150.00326.16
8.2.120.0050.00521.03
8.2.110.0040.00422.23
8.2.100.0090.00318.09
8.2.90.0040.00419.21
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0000.00818.04
8.2.50.0000.00818.07
8.2.40.0000.00819.95
8.2.30.0000.00819.91
8.2.20.0050.00317.63
8.2.10.0030.00618.10
8.2.00.0040.00417.75
8.1.280.0150.00025.92
8.1.270.0030.00723.96
8.1.260.0030.00526.35
8.1.250.0000.00828.09
8.1.240.0030.00622.14
8.1.230.0040.00719.11
8.1.220.0050.00317.76
8.1.210.0080.00018.77
8.1.200.0070.00317.35
8.1.190.0040.00417.36
8.1.180.0000.00818.88
8.1.170.0000.00818.52
8.1.160.0070.00021.98
8.1.150.0040.00418.89
8.1.140.0060.00317.46
8.1.130.0060.00317.89
8.1.120.0070.00017.43
8.1.110.0080.00017.47
8.1.100.0000.00817.43
8.1.90.0040.00417.36
8.1.80.0000.00717.32
8.1.70.0040.00417.47
8.1.60.0050.00317.58
8.1.50.0030.00517.49
8.1.40.0060.00617.51
8.1.30.0040.00417.63
8.1.20.0080.00017.69
8.1.10.0050.00317.54
8.1.00.0050.00517.55
8.0.300.0070.00018.77
8.0.290.0050.00216.75
8.0.280.0040.00418.43
8.0.270.0020.00517.13
8.0.260.0030.00317.16
8.0.250.0050.00316.83
8.0.240.0000.00916.83
8.0.230.0000.00716.80
8.0.220.0000.00716.94
8.0.210.0070.00016.89
8.0.200.0080.00016.82
8.0.190.0160.00316.80
8.0.180.0040.00416.80
8.0.170.0040.00416.88
8.0.160.0150.00316.96
8.0.150.0000.00816.70
8.0.140.0000.00716.70
8.0.130.0030.00313.37
8.0.120.0020.00616.87
8.0.110.0050.00216.79
8.0.100.0040.00416.85
8.0.90.0070.00016.79
8.0.80.0040.01216.90
8.0.70.0000.00716.89
8.0.60.0150.00016.90
8.0.50.0000.00816.73
8.0.30.0060.01317.00
8.0.20.0120.00617.40
8.0.10.0040.00417.00
8.0.00.0110.00916.63
7.4.330.0050.00015.00
7.4.320.0060.00016.61
7.4.300.0040.00416.56
7.4.290.0050.00216.64
7.4.280.0000.00716.58
7.4.270.0070.00016.45
7.4.260.0090.00016.59
7.4.250.0040.00416.56
7.4.240.0020.00516.52
7.4.230.0000.00716.42
7.4.220.0090.00916.56
7.4.210.0120.00316.65
7.4.200.0040.00416.41
7.4.160.0070.01016.59
7.4.150.0150.00317.40
7.4.140.0050.01217.86
7.4.130.0100.00716.55
7.4.120.0130.00716.67
7.4.110.0100.00616.53
7.4.100.0090.00916.44
7.4.90.0000.01616.55
7.4.80.0140.01119.39
7.4.70.0140.00316.57
7.4.60.0100.00716.62
7.4.50.0030.00616.60
7.4.40.0070.01116.57
7.4.30.0100.00616.62
7.4.10.0000.01715.12
7.4.00.0060.00815.07
7.3.330.0020.00413.38
7.3.320.0030.00313.38
7.3.310.0080.00016.30
7.3.300.0000.00716.41
7.3.290.0110.00416.36
7.3.280.0120.00316.40
7.3.270.0060.01217.40
7.3.260.0050.01916.48
7.3.250.0070.01116.42
7.3.240.0080.00916.43
7.3.230.0100.00616.53
7.3.210.0110.00716.42
7.3.200.0110.01119.39
7.3.190.0100.01216.71
7.3.180.0100.01016.26
7.3.170.0060.01316.66
7.3.160.0040.01116.47
7.3.130.0070.01115.11
7.3.120.0040.01114.91
7.3.110.0070.01114.93
7.3.100.0000.01414.71
7.3.90.0060.00314.81
7.3.80.0060.00614.78
7.3.70.0090.00914.92
7.3.60.0100.00614.73
7.3.50.0000.01314.89
7.3.40.0080.00814.85
7.3.30.0030.00614.78
7.3.20.0030.01016.81
7.3.10.0040.00716.72
7.3.00.0090.00316.68
7.2.330.0090.00916.45
7.2.320.0170.00316.76
7.2.310.0090.00916.59
7.2.300.0130.00616.81
7.2.290.0090.01216.71
7.2.260.0090.00614.95
7.2.250.0130.00315.26
7.2.240.0030.01215.27
7.2.230.0040.01115.12
7.2.220.0040.01115.32
7.2.210.0030.01115.17
7.2.200.0060.00915.30
7.2.190.0070.01115.01
7.2.180.0090.00015.01
7.2.170.0170.00015.16
7.2.160.0040.01214.92
7.2.150.0140.00016.68
7.2.140.0090.00616.90
7.2.130.0110.00416.88
7.2.120.0000.01416.84
7.2.110.0030.00916.85
7.2.100.0040.01217.11
7.2.90.0000.01117.09
7.2.80.0130.00316.78
7.2.70.0150.00416.93
7.2.60.0090.00617.08
7.2.50.0110.00716.99
7.2.40.0000.00916.81
7.2.30.0030.01017.09
7.2.20.0120.00616.85
7.2.10.0160.00016.84
7.2.00.0050.00618.17
7.1.330.0030.01015.87
7.1.320.0000.01316.05
7.1.310.0090.00315.93
7.1.300.0040.00715.96
7.1.290.0070.00715.93
7.1.280.0040.00415.86
7.1.270.0040.00715.82
7.1.260.0000.01115.95
7.1.250.0060.00615.70
7.1.240.0030.00915.85
7.1.230.0040.00815.52
7.1.220.0070.01115.68
7.1.210.0060.01215.96
7.1.200.0000.01515.99
7.1.190.0120.00315.89
7.1.180.0030.01415.65
7.1.170.0030.01015.77
7.1.160.0070.00715.80
7.1.150.0030.01215.75
7.1.140.0070.00315.99
7.1.130.0080.00315.96
7.1.120.0000.01615.77
7.1.110.0070.01115.72
7.1.100.0030.00917.02
7.1.90.0040.00715.97
7.1.80.0060.00615.79
7.1.70.0050.00416.60
7.1.60.0080.00917.62
7.1.50.0100.01116.31
7.1.40.0100.00315.82
7.1.30.0070.00415.79
7.1.20.0040.00715.91
7.1.10.0030.01215.91
7.1.00.0030.04219.03
7.0.330.0100.00315.61
7.0.320.0030.01015.16
7.0.310.0030.00515.43
7.0.300.0080.00815.45
7.0.290.0070.00715.25
7.0.280.0040.01115.39
7.0.270.0000.01115.45
7.0.260.0030.01015.44
7.0.250.0060.00915.41
7.0.240.0050.00515.51
7.0.230.0030.01015.24
7.0.220.0040.00415.39
7.0.210.0000.01215.38
7.0.200.0070.00516.11
7.0.190.0040.00715.61
7.0.180.0000.01415.20
7.0.170.0040.00715.48
7.0.160.0040.00815.54
7.0.150.0040.00715.28
7.0.140.0070.03818.80
7.0.130.0000.01415.43
7.0.120.0000.01415.59
7.0.110.0100.00315.37
7.0.100.0030.01315.52
7.0.90.0100.00715.49
7.0.80.0050.00515.43
7.0.70.0000.01015.62
7.0.60.0160.03717.66
7.0.50.0110.04016.69
7.0.40.0060.04616.85
7.0.30.0150.02716.79
7.0.20.0190.04416.75
7.0.10.0050.02416.88
7.0.00.0050.03516.95
5.6.400.0100.00314.31
5.6.390.0060.00314.51
5.6.380.0090.00914.36
5.6.370.0110.00314.48
5.6.360.0060.00614.75
5.6.350.0060.01014.51
5.6.340.0030.01314.48
5.6.330.0000.01414.40
5.6.320.0090.00914.66
5.6.310.0040.00714.48
5.6.300.0040.00814.64
5.6.290.0030.01014.21
5.6.280.0020.04517.81
5.6.270.0040.00914.72
5.6.260.0090.00914.60
5.6.250.0030.00614.44
5.6.240.0070.00714.79
5.6.230.0080.00414.29
5.6.220.0070.00714.54
5.6.210.0020.03717.51
5.6.200.0010.04616.33
5.6.190.0040.04217.29
5.6.180.2100.02917.55
5.6.170.0190.02617.54
5.6.160.0030.02617.59
5.6.150.0070.02616.27
5.6.140.0050.03216.26
5.6.130.0050.04716.38
5.6.120.0040.04617.79
5.6.110.0090.04117.61
5.6.100.0040.02717.83
5.6.90.0060.03617.71
5.6.80.0140.02917.47
5.6.70.0040.00714.30
5.6.60.0070.00714.40
5.6.50.0000.01714.18
5.6.40.0030.00914.71
5.6.30.0060.00614.09
5.6.20.0000.01114.19
5.6.10.0100.00314.65
5.6.00.0060.00614.30
5.5.380.0060.00614.26
5.5.370.0000.01414.33
5.5.360.0040.01114.25
5.5.350.0050.02217.46
5.5.340.0050.03616.22
5.5.330.0100.04117.40
5.5.320.0150.03217.29
5.5.310.0180.02317.39
5.5.300.0050.04416.05
5.5.290.0070.04315.99
5.5.280.0030.02817.56
5.5.270.0070.04317.65
5.5.260.0070.02317.44
5.5.250.0070.04517.39
5.5.240.2080.01817.21
5.5.230.0030.01314.17
5.5.220.0070.00314.53
5.5.210.0000.01114.20
5.5.200.0070.00414.15
5.5.190.0060.00914.39
5.5.180.0060.00614.02
5.5.170.0080.00514.44
5.5.160.0060.00614.26
5.5.150.0040.00814.14
5.5.140.0000.01314.35
5.5.130.0060.00914.35
5.5.120.0030.00614.04
5.5.110.0060.00614.48
5.5.100.0060.00614.11
5.5.90.0070.00714.52
5.5.80.0050.00314.15
5.5.70.0090.00314.33
5.5.60.0060.00614.09
5.5.50.0080.00414.51
5.5.40.0040.00814.34
5.5.30.0030.01014.02
5.5.20.0030.00514.42
5.5.10.0000.00814.61
5.5.00.0030.00914.32
5.4.450.0400.03116.06
5.4.440.0050.03616.01
5.4.430.0080.03315.94
5.4.420.0080.03116.06
5.4.410.0110.03115.96
5.4.400.0250.03515.70
5.4.390.0220.03015.65
5.4.380.0070.03215.55
5.4.370.0100.02515.63
5.4.360.0060.02815.62
5.4.350.0060.03112.29
5.4.340.0080.02612.29
5.4.330.0000.00912.57
5.4.320.0060.01912.54
5.4.310.0070.02012.54
5.4.300.0060.02012.54
5.4.290.0040.02212.54
5.4.280.0060.02112.49
5.4.270.0020.02312.49
5.4.260.0060.02112.49
5.4.250.0060.02212.49
5.4.240.0070.02012.49
5.4.230.0040.02512.48
5.4.220.0090.02112.48
5.4.210.0050.02012.48
5.4.200.0040.02312.48
5.4.190.0050.02112.48
5.4.180.0090.01612.48
5.4.170.0060.02212.48
5.4.160.0070.02212.48
5.4.150.0060.02412.48
5.4.140.0040.02212.32
5.4.130.0030.02212.32
5.4.120.0100.02312.29
5.4.110.0080.01912.29
5.4.100.0070.02212.29
5.4.90.0040.02412.29
5.4.80.0060.02112.29
5.4.70.0040.01912.29
5.4.60.0050.02112.29
5.4.50.0060.02212.29
5.4.40.0050.02112.28
5.4.30.0070.02212.28
5.4.20.0050.02312.28
5.4.10.0050.02212.28
5.4.00.0020.02312.03
5.3.290.0100.03312.80
5.3.280.0050.03812.71
5.3.270.0060.03812.72
5.3.260.0060.04212.72
5.3.250.0110.05012.72
5.3.240.0060.05212.72
5.3.230.0060.04312.71
5.3.220.0070.03712.68
5.3.210.0070.04212.68
5.3.200.0080.03412.68
5.3.190.0060.03712.68
5.3.180.0050.03612.67
5.3.170.0090.03212.67
5.3.160.0070.03812.67
5.3.150.0080.03712.67
5.3.140.0090.03712.66
5.3.130.0040.04312.66
5.3.120.0080.04412.66
5.3.110.0080.04612.66
5.3.100.0060.03612.13
5.3.90.0070.04212.11
5.3.80.0100.04212.10
5.3.70.0070.04112.10
5.3.60.0080.04012.09
5.3.50.0040.04512.03
5.3.40.0110.03712.03
5.3.30.0080.03712.00
5.3.20.0080.04211.78
5.3.10.0090.03911.74
5.3.00.0090.03811.73
5.2.170.0050.0309.23
5.2.160.0070.0379.23
5.2.150.0070.0379.23
5.2.140.0040.0329.22
5.2.130.0070.0259.19
5.2.120.0080.0349.19
5.2.110.0020.0349.20
5.2.100.0060.0359.18
5.2.90.0030.0309.18
5.2.80.0030.0319.18
5.2.70.0040.0399.18
5.2.60.0020.0379.14
5.2.50.0050.0299.11
5.2.40.0020.0319.09
5.2.30.0060.0289.06
5.2.20.0060.0279.05
5.2.10.0070.0298.95
5.2.00.0050.0288.82
5.1.60.0040.0248.10
5.1.50.0060.0228.09
5.1.40.0060.0238.07
5.1.30.0030.0278.43
5.1.20.0050.0258.45
5.1.10.0080.0218.17
5.1.00.0050.0288.18
5.0.50.0040.0216.65
5.0.40.0050.0186.52
5.0.30.0030.0316.32
5.0.20.0020.0236.29
5.0.10.0030.0206.27
5.0.00.0020.0376.27
4.4.90.0050.0224.78
4.4.80.0050.0194.75
4.4.70.0030.0174.75
4.4.60.0030.0184.75
4.4.50.0050.0224.77
4.4.40.0020.0264.71
4.4.30.0040.0144.76
4.4.20.0020.0164.85
4.4.10.0040.0224.85
4.4.00.0040.0304.76
4.3.110.0010.0194.67
4.3.100.0040.0134.66
4.3.90.0030.0144.64
4.3.80.0050.0264.59
4.3.70.0020.0164.63
4.3.60.0030.0154.63
4.3.50.0040.0164.63
4.3.40.0030.0274.54
4.3.30.0010.0303.32
4.3.20.0030.0223.30
4.3.10.0040.0183.25
4.3.00.0100.0237.11

preferences:
46.43 ms | 401 KiB | 5 Q