3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'string'; $b = "string"; var_dump($a === $b, gettype($a) === gettype($b));

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.0110.00718.31
8.3.50.0080.01022.06
8.3.40.0090.00618.47
8.3.30.0070.01118.54
8.3.20.0020.00520.06
8.3.10.0030.00620.36
8.3.00.0090.00020.47
8.2.180.0140.00418.13
8.2.170.0120.00322.96
8.2.160.0090.00619.32
8.2.150.0000.00824.18
8.2.140.0030.00524.66
8.2.130.0040.00419.36
8.2.120.0000.00826.35
8.2.110.0060.00322.11
8.2.100.0080.00417.72
8.2.90.0030.00617.75
8.2.80.0030.00618.77
8.2.70.0030.00617.63
8.2.60.0040.00417.63
8.2.50.0080.00017.55
8.2.40.0080.00019.35
8.2.30.0040.00419.28
8.2.20.0030.00517.62
8.2.10.0000.00717.95
8.2.00.0000.00818.02
8.1.280.0110.00425.92
8.1.270.0030.00523.77
8.1.260.0080.00028.09
8.1.250.0030.00628.09
8.1.240.0100.00020.88
8.1.230.0040.00817.83
8.1.220.0080.00017.76
8.1.210.0060.00318.77
8.1.200.0110.00017.23
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0000.00717.62
8.1.160.0000.00822.61
8.1.150.0000.00718.94
8.1.140.0040.00419.48
8.1.130.0070.00017.68
8.1.120.0030.00317.37
8.1.110.0040.00417.43
8.1.100.0040.00417.38
8.1.90.0000.00717.37
8.1.80.0070.00017.40
8.1.70.0000.00717.34
8.1.60.0000.00817.54
8.1.50.0040.00417.39
8.1.40.0040.00417.39
8.1.30.0030.00517.43
8.1.20.0000.00717.59
8.1.10.0040.00417.48
8.1.00.0000.00717.41
8.0.300.0070.00018.93
8.0.290.0040.00416.63
8.0.280.0070.00018.24
8.0.270.0030.00317.17
8.0.260.0030.00317.09
8.0.250.0000.00816.89
8.0.240.0000.00916.92
8.0.230.0000.00816.90
8.0.220.0050.00316.82
8.0.210.0030.00316.88
8.0.200.0030.00316.87
8.0.190.0040.00416.88
8.0.180.0080.00016.84
8.0.170.0040.00416.77
8.0.160.0040.00416.86
8.0.150.0060.00316.88
8.0.140.0070.00016.82
8.0.130.0040.00413.33
8.0.120.0080.00016.84
8.0.110.0040.00416.90
8.0.100.0060.00316.69
8.0.90.0000.00816.88
8.0.80.0130.00716.87
8.0.70.0000.00716.98
8.0.60.0080.00016.75
8.0.50.0030.00416.89
8.0.30.0060.01117.02
8.0.20.0130.00517.40
8.0.10.0040.00416.89
8.0.00.0130.00616.72
7.4.330.0000.00415.08
7.4.320.0060.00016.48
7.4.300.0050.00516.57
7.4.290.0030.00316.40
7.4.280.0040.00416.52
7.4.270.0000.00716.58
7.4.260.0120.00016.48
7.4.250.0040.00416.40
7.4.240.0000.00716.48
7.4.230.0070.00316.66
7.4.220.0100.00716.57
7.4.210.0080.00816.65
7.4.200.0040.00416.33
7.4.160.0090.00616.40
7.4.150.0060.01117.40
7.4.140.0070.01417.86
7.4.130.0080.01116.50
7.4.120.0100.00716.39
7.4.110.0120.00616.51
7.4.100.0070.01016.58
7.4.90.0100.00716.36
7.4.80.0100.00719.39
7.4.70.0150.00016.38
7.4.60.0140.00316.51
7.4.50.0090.00316.23
7.4.40.0070.01016.54
7.4.30.0030.01216.38
7.4.10.0060.00914.87
7.4.00.0040.01314.87
7.3.330.0020.00213.11
7.3.320.0060.00013.11
7.3.310.0000.00716.39
7.3.300.0030.00316.22
7.3.290.0040.01116.34
7.3.280.0110.00716.35
7.3.270.0080.00817.40
7.3.260.0130.00516.50
7.3.250.0050.01316.37
7.3.240.0050.01116.37
7.3.230.0120.00616.40
7.3.210.0070.01016.54
7.3.200.0140.00316.25
7.3.190.0090.00916.37
7.3.180.0060.01016.55
7.3.170.0130.00316.29
7.3.160.0110.00616.41
7.3.130.0040.00714.80
7.3.120.0080.00814.71
7.3.110.0100.00614.71
7.3.100.0100.00614.78
7.3.90.0050.00814.66
7.3.80.0080.00714.78
7.3.70.0050.01214.75
7.3.60.0070.00814.64
7.3.50.0050.00814.76
7.3.40.0040.01014.73
7.3.30.0070.00514.57
7.3.20.0070.00716.44
7.3.10.0030.00916.50
7.3.00.0010.01116.46
7.2.330.0170.00016.60
7.2.320.0070.01016.36
7.2.310.0030.01416.32
7.2.300.0110.01116.58
7.2.290.0130.00316.68
7.2.260.0100.00714.96
7.2.250.0070.01014.91
7.2.240.0080.00915.09
7.2.230.0040.01214.85
7.2.220.0050.01114.92
7.2.210.0050.00815.14
7.2.200.0040.01014.97
7.2.190.0060.00515.01
7.2.180.0070.00614.92
7.2.170.0050.01014.99
7.2.160.0080.00314.89
7.2.150.0070.00716.86
7.2.140.0090.00516.90
7.2.130.0070.01016.79
7.2.120.0040.00916.81
7.2.110.0050.01116.87
7.2.100.0030.00916.58
7.2.90.0000.01416.90
7.2.80.0070.00616.71
7.2.70.0060.00916.98
7.2.60.0090.00716.70
7.2.50.0060.00716.73
7.2.40.0080.00616.78
7.2.30.0080.00716.71
7.2.20.0050.00916.87
7.2.10.0050.00816.93
7.2.00.0060.00817.67
7.1.330.0080.00815.69
7.1.320.0060.00815.70
7.1.310.0020.01315.88
7.1.300.0050.00415.76
7.1.290.0070.00915.71
7.1.280.0080.00715.68
7.1.270.0060.00615.77
7.1.260.0060.00415.61
7.1.250.0050.00915.80
7.1.240.0000.01015.46
7.1.230.0040.01115.91
7.1.220.0030.01015.65
7.1.210.0000.01015.86
7.1.200.0090.00415.47
7.1.190.0000.01215.57
7.1.180.0060.00615.87
7.1.170.0040.01115.49
7.1.160.0120.00015.53
7.1.150.0040.01115.91
7.1.140.0040.01115.71
7.1.130.0040.00415.46
7.1.120.0060.00315.46
7.1.110.0040.00415.50
7.1.100.0420.00316.00
7.1.90.0040.01115.63
7.1.80.0070.00715.71
7.1.70.0070.00416.50
7.1.60.0090.00817.53
7.1.50.0080.00615.89
7.1.40.0030.00715.71
7.1.30.0090.00315.89
7.1.20.0110.00315.75
7.1.10.0110.00015.64
7.1.00.0050.04119.08
7.0.330.0040.01115.54
7.0.320.0070.00315.42
7.0.310.0050.00315.08
7.0.300.0110.00415.18
7.0.290.0070.00315.19
7.0.280.0040.00415.37
7.0.270.0060.00315.18
7.0.260.0000.01015.37
7.0.250.0000.01015.34
7.0.240.0000.01415.46
7.0.230.0000.01415.32
7.0.220.0030.00515.33
7.0.210.0080.00015.39
7.0.200.0070.00416.04
7.0.190.0000.01715.17
7.0.180.0000.01515.09
7.0.170.0000.00815.16
7.0.160.0060.00315.25
7.0.150.0000.01215.33
7.0.140.0060.01015.38
7.0.130.0070.00415.47
7.0.120.0060.00915.46
7.0.110.0070.00715.39
7.0.100.0040.00815.13
7.0.90.0150.00015.34
7.0.80.0030.01315.39
7.0.70.0080.00415.02
7.0.60.0180.03318.51
7.0.50.0090.04216.51
7.0.40.0030.04916.61
7.0.30.0200.02616.74
7.0.20.0130.04416.88
7.0.10.0080.04516.70
7.0.00.0050.03516.75
5.6.400.0110.00414.12
5.6.390.0130.00314.31
5.6.380.0060.00613.95
5.6.370.0030.00713.98
5.6.360.0060.00314.29
5.6.350.0060.00914.05
5.6.340.0060.00314.11
5.6.330.0080.00814.32
5.6.320.0090.00614.24
5.6.310.0000.01214.57
5.6.300.0030.00914.36
5.6.290.0080.00614.12
5.6.280.0080.03717.64
5.6.270.0050.00514.45
5.6.260.0060.00614.29
5.6.250.0000.01314.28
5.6.240.0070.01014.21
5.6.230.0090.00614.37
5.6.220.0070.00313.96
5.6.210.0100.02717.50
5.6.200.0050.03316.12
5.6.190.0040.04817.44
5.6.180.0200.04117.22
5.6.170.0180.04917.29
5.6.160.0100.02817.36
5.6.150.0080.02816.11
5.6.140.0070.02816.24
5.6.130.0020.03216.10
5.6.120.0110.03017.48
5.6.110.0050.04017.50
5.6.100.0030.02817.42
5.6.90.0050.04117.56
5.6.80.0050.02117.20
5.6.70.0100.00314.16
5.6.60.0040.00414.17
5.6.50.0090.00013.98
5.6.40.0040.01113.71
5.6.30.0100.00714.23
5.6.20.0000.00913.86
5.6.10.0050.00514.05
5.6.00.0100.00313.93
5.5.380.0060.01213.91
5.5.370.0050.00514.30
5.5.360.0070.00414.18
5.5.350.0120.02217.21
5.5.340.0100.04316.16
5.5.330.0070.04517.07
5.5.320.0180.04017.28
5.5.310.0130.02717.01
5.5.300.0060.04316.12
5.5.290.0070.04215.92
5.5.280.0050.02517.36
5.5.270.0050.02517.59
5.5.260.0050.02517.51
5.5.250.0040.02617.47
5.5.240.0070.02817.18
5.5.230.0140.00014.14
5.5.220.0070.00714.17
5.5.210.0040.01213.99
5.5.200.0110.00414.32
5.5.190.0090.00614.17
5.5.180.0080.00613.77
5.5.170.0090.00314.17
5.5.160.0080.00514.24
5.5.150.0030.01013.82
5.5.140.0070.00313.80
5.5.130.0040.00714.11
5.5.120.0100.00314.17
5.5.110.0090.00613.89
5.5.100.0000.00914.33
5.5.90.0030.00713.99
5.5.80.0030.01014.01
5.5.70.0080.00414.11
5.5.60.0030.00614.14
5.5.50.0030.00713.98
5.5.40.0000.01013.91
5.5.30.0030.00713.69
5.5.20.0030.00913.82
5.5.10.0100.00313.89
5.5.00.0050.00814.31

preferences:
62.38 ms | 401 KiB | 5 Q